package com.zh.domain.dto.bug;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel(value = "AddBugRequest", description = "添加缺陷请求参数")
public class AddBugRequest {
    @ApiModelProperty(value = "关联项目id", required = true)
    private Integer proId;
    @ApiModelProperty(value = "关联里程碑id")
    private Integer mileId;
    @ApiModelProperty(value = "关联迭代id")
    private Integer iterId;
    @ApiModelProperty(value = "关联需求id")
    private Integer reqId;
    @ApiModelProperty(value = "关联任务id")
    private Integer taskId;
    @ApiModelProperty(value = "缺陷标题", required = true)
    private String title;
    @ApiModelProperty(value = "缺陷描述", required = true)
    private String description;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "缺陷优先级", required = true)
    private Integer priority;
    @ApiModelProperty(value = "缺陷负责人", required = true)
    private Integer ownerId;
    @ApiModelProperty(value = "开始时间")
    private LocalDateTime startTime;
    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;
}
